package action.strategy;

import action.strategy.vo.Ticket;

public class ConcreteStrategyTwo implements Strategy{

    @Override
    public double calculate(Ticket ticket) {
        System.out.println("正在执行策略Two，打5折");
        return ticket.getPrice() * 0.5;
    }
}
